package domein;
//imports
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPasswordField;
import javax.swing.JTextField;

public class Functies {
	
	public static JLabel makeLabel(JLabel naam, String value, int x, int y, int width, int height){
		{
			naam = new JLabel();
			naam.setText(value);
			naam.setBounds(x, y, width, height);
		}
		return naam;
	}// end makeLabel
	
	public static JButton makeButton(JButton naam, String value, int x, int y, int width, int height){
		{
			naam = new JButton();
			naam.setText(value);
			naam.setBounds(x, y, width, height);
		}
		return naam;
	}// end makeButton
	
	public static JTextField makeText(JTextField naam, String value, int x, int y, int width, int height){
		{
			naam = new JTextField();
			naam.setText(value);
			naam.setBounds(x, y, width, height);
		}
		return naam;
	}// end makeText
	
	public static JPasswordField makePwd(JPasswordField naam, String value, int x, int y, int width, int height){
		{
			naam = new JPasswordField();
			naam.setText(value);
			naam.setBounds(x, y, width, height);
		}
		return naam;
	}// end makeText


}
